﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HRSWeb.UI.BasePages;

namespace HRSWeb.Presentation.Login
{
    public partial class PatientLogin : BasePage
    {

       

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (AuthenticationManager.Current.Login(TextBox1.Text, TextBox2.Text))
            {
                Response.Redirect("../Appointment/Appointment.aspx");
            }
            else
            {
                ltl1.Text = "Hatalı parola veya kullanıcı adı";
            }
        }
    }
}